package com.example.service;

import com.example.pojo.user.RolePermission;

import java.util.List;

public interface RolePermissionService {
    int deleteByPrimaryKey(Integer id);

    int insert(RolePermission record);

    int insertSelective(RolePermission record);
    List<RolePermission> listPermission();
    RolePermission selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RolePermission record);
    List<String> listRole();

    int updateByPrimaryKey(RolePermission record);
}
